<template>
  <button @click="countTimes">YOU CLICK ME {{count}} TIMES</button>
</template>

<script>
  export default {
    count: 0,
    data() {
      return {
        count: 0
      }
    },

    methods: {
      countTimes:function () {
        this.count++;
      }
    }

  }
</script>

<style scoped>

</style>
